import { Module } from '@nestjs/common';
import { AdminV1AdminController } from './admin.v1-admin.controller';
import { AdminService } from './admin.service';
import { TypeOrmModule } from '@nestjs/typeorm';
import { AdminModel } from './admin.model';
import { AdminLoginLogModel } from '@/module/admin-login-log/admin-login-log.model';
import { AdminuserRoleModel } from "@/module/adminuser-role/adminuser-role.model";
import { RoleResourceModel } from "@/module/role-resource/role-resource.model";

@Module({
  imports: [TypeOrmModule.forFeature([AdminModel, AdminLoginLogModel, AdminuserRoleModel, RoleResourceModel])],
  controllers: [AdminV1AdminController],
  providers: [AdminService],
})
export class AdminModule {}
